package com.qqtech.qquan.order.service;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.order.model.*;

public interface OrderDeliveryService extends BaseService<OrderDelivery> {
	
	/**
	 * 根据订单号和类型获取
	 * @param orderNo 订单号
	 * @param type 类型（发退货类型:1-卖家发货;2-买家退货;3-卖家前往服务）
	 * @return
	 */
	public OrderDelivery getByOrderNoAndType(String orderNo, Integer type);
	
	/**
	 * 根据订单号和类型获取
	 * @param orderNo 订单号
	 * @return
	 */
	public OrderDelivery getByOrderNo(String orderNo);
}